<template>
    <h1>用户借款项目</h1>
    <BorrowAll v-slot="info">
        <a href="#" @click="jump(info.id)">用户借款明细</a>
    </BorrowAll>

</template>

<script setup lang="ts">
import BorrowAll from '../Borrow/BorrowAll.vue'
import { useRouter } from 'vue-router';

const router = useRouter()

const jump = (Id:string)=>{
    router.push({
        name:'UserBorrowAils',
        params:{
            Id:Id
        }
    })
}



</script>